#ifndef CIP_H
#define CIP_H



class CIp
{
    public:
        CIp();
        virtual ~CIp();
        bool IsIp(char *);
        bool IsCidr(char *);
        bool IpInCidr(char *, char *);
        bool IsIpMask(char *);
    protected:
    private:
        unsigned int Ip2Int(char *);
        char * Int2Ip(unsigned int);

};

#endif // CIP_H
